package com.codebattery.config;

import com.alibaba.nacos.api.config.annotation.NacosValue;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author cay91
 * @Date 2020-08-27 11:29 PM
 * @Version 1.0
 */

//@Component
@Data
public abstract class EsUtilBaseConfig {
//    @NacosValue("${es.host}")
    String host;
//    @NacosValue("${es.port}")
    String port;
//    @NacosValue("${es.scheme}")
    String scheme;

}
